#include "Support.h"
#include "StateManager.h"
#include "HelpState.h"
#include "MenuState.h"

void CHelpState::Init()
{

}

void CHelpState::Release()
{

}

void CHelpState::Pause()
{

}

void CHelpState::Resume()
{

}

void CHelpState::Update()
{
	if (GIsKeyPress(KEY_SPACE))
	{
		CStateManager::GetInstance ()->PopState ();
		CStateManager::GetInstance ()->GetListState ().back ()->Resume ();
	}
}

void CHelpState::Draw()
{
	GPutStringToBufferWithMargin("Flow", 8, GColors::LIGHT_CYAN);

	/*GPutStringToBufferWithMargin("Connect matching colors with pipe to create a flow.", 8);
	GPutStringToBufferWithMargin("Pair all colors, and cover the entire board to solve each puzzle.", 10);
	GPutStringToBufferWithMargin("But watch out, pipes will break if they cross or overlap!", 12);*/

	GPutStringToBufferWithMargin ("Under Construction...", 12, GColors::LIGHT_RED);
	GPutStringToBufferWithMargin("Press Space to return to Menu", 14, LIGHT_MAGENTA);
}